﻿
// stdafx.h : 标准系统包含文件的包含文件，
// 或是经常使用但不常更改的
// 特定于项目的包含文件

#pragma once
#if !defined(AFX_STDAFX_H__551C590A_57A8_4421_BEF5_D234B93A7CE2__INCLUDED_)
#define AFX_STDAFX_H__551C590A_57A8_4421_BEF5_D234B93A7CE2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#pragma comment(linker, "/NODEFAULTLIB:libc.lib")
#ifndef _SQLITELIB_
#pragma comment(lib, "./sqlite3lib.lib")// added by C瓜哥
#endif
#define _CRT_SECURE_NO_WARNINGS

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN            // 从 Windows 头中排除极少使用的资料
#endif

#include "targetver.h"

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // 某些 CString 构造函数将是显式的

// 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
#define _AFX_ALL_WARNINGS

#include <afxwin.h>         // MFC 核心组件和标准组件
#include <afxext.h>         // MFC 扩展


#include <afxdisp.h>        // MFC 自动化类



#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>           // MFC 对 Internet Explorer 4 公共控件的支持
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>             // MFC 对 Windows 公共控件的支持
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <afxcontrolbars.h>     // 功能区和控件条的 MFC 支持



struct OcrInfo {
	long nIndex;
	CString sName;
	CString sOcrText;
	CString sAction;
	CString sType;
	CString sPoint;
	CString sOffset;
	long x;
	long y;
	CString sEnlarge;
	int nDelay;
	CString sInStr;
	int nCount;
	CString sDescribe;
};

struct OcrBase
{
	int ID;				//编号
	CString strName;		//识别名称
	CString strOcrText;	//识别数据
	CString strType;			//识别类型
	CString strAction;		//识别动作
	CString strStatus;		//状态
	CString strPoint;		//识别范围
	CString strOffsetPoint;	//偏移范围
	CString strEnlarge;		//放大范围
	int nDelay;			//延迟
	int nCount;			//识别次数
	float fSim;			//相似度
	CString strOffsetCol;	//偏色
	CString strRndPoint;	//随机范围
};

#include "UserInit.h"
#include <process.h>

#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif


#endif // !defined(AFX_STDAFX_H__551C590A_57A8_4421_BEF5_D234B93A7CE2__INCLUDED_)